package com.credithc.customers.base.mapper;

import com.credithc.customers.base.po.PreCustomerUnifyLoginFlowPo;
import com.credithc.customers.base.ro.CustomerUnifyLoginFlowRo;
import com.credithc.customers.base.ro.CustomerUnifyUpdateRo;
import com.credithc.customers.base.vo.CustOauthTokenVo;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.HashMap;
import java.util.List;

/**
 * @author fby
 * @date 2020/01/15 16:28
 */
@Mapper
@Repository
public interface CustomerUnifyMapper {

    List<PreCustomerUnifyLoginFlowPo> getUnifyLoginFlowRecently(@Param("ro") CustomerUnifyLoginFlowRo ro);

    List<HashMap<String, Object>> getCustomerNoSubSystemSign(@Param("ro") CustomerUnifyUpdateRo param2);

    List<CustOauthTokenVo> getCustomerInfo(@Param("preCustomerNo") String preCustomerNo, @Param("systemSign") String systemSign, @Param("subSystemSign") String subSystemSign);
}
